package com.example.demo.generator.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.demo.generator.entiy.TRole;
import com.example.demo.generator.entiy.TUserRole;
import com.example.demo.generator.service.TUserRoleService;
import com.example.demo.generator.mapper.TUserRoleMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 */
@Service
public class TUserRoleServiceImpl extends ServiceImpl<TUserRoleMapper, TUserRole>
    implements TUserRoleService{

    @Override
    public List<TRole> getuserrole(Integer uid) {
        return baseMapper.getuserrole(uid);
    }
}




